package com.itheima.tanhua.pojo.mongo;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

@Data
@Document(collection = "user_like")
@NoArgsConstructor
@AllArgsConstructor
public class UserLike implements Serializable {

    private static final long serialVersionUID =1L;

    private ObjectId id;
    private Long userId;
    private Long likeUserId;
    private String isLike;

    private Long created;
    private Long updated;
}
